<form method="post" action="<?php echo $this->url_index; ?>"  enctype="multipart/form-data">
<ul id="myTab" class="nav nav-tabs pattern" style="margin-bottom: 0px;">
		<li class="active"><a href="#home" data-toggle="tab">Tổng quan</a></li>
			<li><a href="#conf_parameter" data-toggle="tab">Cấu hình tham số</a></li>
			<li><a href="#conf_cache" data-toggle="tab">Cấu hình Cache</a></li>
			<li><a href="#conf_email" data-toggle="tab">Email</a></li>
			<li> 
                   <input type="submit" name="send" class="btn btn-primary" value="Lưu"/>
			 
                
</li>
</ul>
<div class="tab-content" style="margin-top: 0px;">

<div  class="tab-pane fade in active" id="home">
<div class="span12 ">
        
            <div class="table_head" style="margin-top: 0px;"><h6><i class="icon-list-alt"></i>Thông tin cơ bản</h6></div>
            <div class="subcont">
                <ul class="details span10">
				<?php
				$confs = $config['home'];
				foreach($confs as $conf){
				?>
					 <li><?php echo $this->atheme->group_input2('conf['.$conf->CONF_CODE.']', $conf->CONF_TITLE.': ', '', 'span6', @$conf->CONF_VALUE, 'text', ''); ?></li>
				<?php }?>
                </ul>
                <br clear="both">

            </div>
    </div>

</div>



<div  class="tab-pane fade in" id="conf_parameter">
<div class="span12 ">
        
            <div class="table_head" style="margin-top: 0px;"><h6><i class="icon-list-alt"></i>Cấu hình tham số&nbsp;&nbsp;</h6></div>
            <div class="subcont">
               <ul class="details span10">
				<?php
				$confs = $config['num'];
				if(count($confs)>0)
				foreach($confs as $conf){
				?>
					 <li><?php echo $this->atheme->group_input2('conf['.$conf->CONF_CODE.']', $conf->CONF_TITLE.': ', '', 'span2', @$conf->CONF_VALUE, 'text', ''); ?></li>
				<?php }?>
                </ul>
                <br clear="both">

            </div>
    </div>

</div>




<div  class="tab-pane fade in" id="conf_cache">
<div class="span12 ">
        
            <div class="table_head" style="margin-top: 0px;"><h6><i class="icon-list-alt"></i>Cấu hình cache&nbsp;&nbsp;</h6><i>(thời gian tính theo phút (minutes))</i></div>
            <div class="subcont">
                <ul class="details span10">
				<?php
				$confs = @$config['cache'];
				if(count($confs)>0)
				foreach($confs as $conf){
				?>
					 <li><?php echo $this->atheme->group_input2('conf['.$conf->CONF_CODE.']', $conf->CONF_TITLE.': ', '', 'span2', @$conf->CONF_VALUE, 'text', ''); ?></li>
				<?php }?>
                </ul>
                <br clear="both">

            </div>
    </div>

</div>



<div  class="tab-pane fade in" id="conf_email">
<div class="span12 ">
        
            <div class="table_head" style="margin-top: 0px;"><h6><i class="icon-list-alt"></i>Cấu hình email</h6></div>
            <div class="subcont">
                <ul class="details span10">
				<?php
				$confs = $config['email'];
				if(count($confs)>0)
				foreach($confs as $conf){
				?>
					 <li><?php echo $this->atheme->group_input2('conf['.$conf->CONF_CODE.']', $conf->CONF_TITLE.': ', '', 'span6', @$conf->CONF_VALUE, 'text', ''); ?></li>
				<?php }?>
                </ul>
                <br clear="both">

            </div>
    </div>

</div>


</div>

  </form>




 